package org.jeecg.modules.nurse_user_orders.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecgframework.poi.excel.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 用户订单
 * @Author: jeecg-boot
 * @Date: 2024-06-10
 * @Version: V1.0
 */
@Data
@TableName("nurse_user_orders")
@ApiModel(value = "nurse_user_orders对象", description = "用户订单")
public class NurseUserOrders implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 订单主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "订单主键")
    private java.lang.String id;
    /**
     * 订单号
     */
    @Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private java.lang.String code;
    /**
     * 订单状态
     */
    @Excel(name = "订单状态", width = 15, dicCode = "nurse_order_status")
    @Dict(dicCode = "nurse_order_status")
    @ApiModelProperty(value = "订单状态")
    private java.lang.String status;
    /**
     * 分配状态
     */
    @Excel(name = "分配状态", width = 15, dicCode = "nurse_order_dispense")
    @Dict(dicCode = "nurse_order_dispense")
    @ApiModelProperty(value = "分配状态")
    private java.lang.String dispense;
    /**
     * 用户ID
     */
    @Excel(name = "用户ID", width = 15)
    @ApiModelProperty(value = "用户ID")
    private java.lang.String userId;
    /**
     * 用户姓名
     */
    @Excel(name = "用户姓名", width = 15)
    @ApiModelProperty(value = "用户姓名")
    private java.lang.String userName;
    /**
     * 家属ID
     */
    @Excel(name = "家属ID", width = 15)
    @ApiModelProperty(value = "家属ID")
    private java.lang.String familyId;
    /**
     * 家属姓名
     */
    @Excel(name = "家属姓名", width = 15)
    @ApiModelProperty(value = "家属姓名")
    private java.lang.String familyName;
    /**
     * 结账时间
     */
    @Excel(name = "结账时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结账时间")
    private java.util.Date checkoutTime;
    /**
     * 支付方式
     */
    @Excel(name = "支付方式", width = 15)
    @ApiModelProperty(value = "支付方式")
    private java.lang.Integer payMethod;
    /**
     * 实收金额
     */
    @Excel(name = "实收金额", width = 15)
    @ApiModelProperty(value = "实收金额")
    private java.math.BigDecimal amt;
    /**
     * 退款编号
     */
    @Excel(name = "退款编号", width = 15)
    @ApiModelProperty(value = "退款编号")
    private java.lang.String refundNumber;
    /**
     * 退款时间
     */
    @Excel(name = "退款时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "退款时间")
    private java.util.Date refundTime;
    /**
     * 应用ID
     */
    @Excel(name = "应用ID", width = 15)
    @ApiModelProperty(value = "应用ID")
    private java.lang.String appid;
    /**
     * 直连商户号
     */
    @Excel(name = "直连商户号", width = 15)
    @ApiModelProperty(value = "直连商户号")
    private java.lang.String mchid;
    /**
     * 商户订单号
     */
    @Excel(name = "商户订单号", width = 15)
    @ApiModelProperty(value = "商户订单号")
    private java.lang.String outTradeNo;
    /**
     * 过期时间
     */
    @Excel(name = "过期时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "过期时间")
    private java.util.Date expiryTime;
    /**
     * 取消时间
     */
    @Excel(name = "取消时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "取消时间")
    private java.util.Date cancelTime;
    /**
     * 支付地址url
     */
    @Excel(name = "支付地址url", width = 15)
    @ApiModelProperty(value = "支付地址url")
    private java.lang.String payurl;
    /**
     * 发票ID
     */
    @Excel(name = "发票ID", width = 15)
    @ApiModelProperty(value = "发票ID")
    private java.lang.String billId;
    /**
     * 0微信
     */
    @Excel(name = "0微信", width = 15)
    @ApiModelProperty(value = "0微信")
    private java.lang.Integer paydev;
    /**
     * 微信标识
     */
    @Excel(name = "微信标识", width = 15)
    @ApiModelProperty(value = "微信标识")
    private java.lang.String prepayid;
    /**
     * 微信id
     */
    @Excel(name = "微信id", width = 15)
    @ApiModelProperty(value = "微信id")
    private java.lang.String openid;
    /**
     * 订单类型
     */
    @Excel(name = "订单类型 ", width = 15)
    @ApiModelProperty(value = "订单类型")
    @Dict(dicCode = "nurse_type")
    private java.lang.String nurseType;
    /**
     * 订单摘要
     */
    @Excel(name = "订单摘要", width = 15)
    @ApiModelProperty(value = "订单摘要")
    private java.lang.String orderText;
	
	/**
	 * 规格信息（关联standard_price表）
	 */
	@Excel(name = "规格信息", width = 30)
	@ApiModelProperty(value = "规格信息")
	private java.lang.String standard;

	/**
	 * 联系人电话
	 */
	@Excel(name = "联系人电话", width = 15)
	@ApiModelProperty(value = "联系人电话")
	private java.lang.String phone;
    /**
     * 联系人
     */
    @Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
    private java.lang.String contacts;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**
     * 地区
     */
    @Excel(name = "地区", width = 15)
    @ApiModelProperty(value = "地区")
    private java.lang.String area;
    /**
     * 地区名称
     */
    @Excel(name = "地区名称", width = 15)
    @ApiModelProperty(value = "地区名称")
    private java.lang.String areaName;
    /**
     * 详细地址
     */
    @Excel(name = "详细地址", width = 15)
    @ApiModelProperty(value = "详细地址")
    private java.lang.String address;
    /**
     * 医院
     */
    @Excel(name = "医院", width = 15)
    @ApiModelProperty(value = "医院")
    private java.lang.String hospital;
    /**
     * 医院名称
     */
    @Excel(name = "医院名称", width = 15)
    @ApiModelProperty(value = "医院名称")
    private java.lang.String hospitalName;
    /**
     * 科室
     */
    @Excel(name = "科室", width = 15)
    @ApiModelProperty(value = "科室")
    private java.lang.String dept;
    /**
     * 科室名称
     */
    @Excel(name = "科室名称", width = 15)
    @ApiModelProperty(value = "科室名称")
    private java.lang.String deptName;
    /**
     * 床号
     */
    @Excel(name = "床号", width = 15)
    @ApiModelProperty(value = "床号")
    private java.lang.String bed;
    /**
     * 床号名称
     */
    @Excel(name = "床号名称", width = 15)
    @ApiModelProperty(value = "床号名称")
    private java.lang.String bedName;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 开始日期
     */
    @Excel(name = "开始日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始日期")
    private java.util.Date beginDate;
    /**
     * 结束日期
     */
    @Excel(name = "结束日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束日期")
    private java.util.Date endDate;
    /**
     * 病历号
     */
    @Excel(name = "病历号", width = 15)
    @ApiModelProperty(value = "病历号")
    private java.lang.String record;

    @Excel(name = "是否上门", width = 15)
    @ApiModelProperty(value = "是否上门")
    private java.lang.String isGoHome;

    @Excel(name = "加急ID", width = 15)
    @ApiModelProperty(value = "加急ID")
    private java.lang.String urgentId;

    @Excel(name = "加急名称", width = 15)
    @ApiModelProperty(value = "加急名称")
    private java.lang.String urgentName;

    @Excel(name = "距离", width = 15)
    @ApiModelProperty(value = "距离")
    private BigDecimal distance;

    @Excel(name = "距离费用", width = 15)
    @ApiModelProperty(value = "距离费用")
    private BigDecimal distanceFee;

    @Excel(name = "专家项目ID", width = 15)
    @ApiModelProperty(value = "专家项目D")
    private java.lang.String expertId;

    @Excel(name = "专家项目名称", width = 15)
    @ApiModelProperty(value = "专家项目名称")
    private java.lang.String expertName;

    @Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "")
    private java.lang.String tenantId;

    @Excel(name = "是否加急", width = 15)
    @ApiModelProperty(value = "是否加急")
    private java.lang.String isurgent;

    @Excel(name = "是否夜班", width = 15)
    @ApiModelProperty(value = "是否夜班")
    private java.lang.String isnight;

    @Excel(name = "是否接送", width = 15)
    @ApiModelProperty(value = "是否接送")
    private java.lang.String isPickup;

    @Excel(name = "是否节假日", width = 15)
    @ApiModelProperty(value = "是否节假日")
    private java.lang.String isFestival;

    @Excel(name = "夜班费ID", width = 15)
    @ApiModelProperty(value = "夜班费ID")
    private java.lang.String nightId;

    @Excel(name = "夜班费名称", width = 15)
    @ApiModelProperty(value = "夜班费名称")
    private java.lang.String nightName;



    @Excel(name = "回显json", width = 100)
    @ApiModelProperty(value = "回显json")
    private String orderJson;

    @Excel(name = "规格id", width = 100)
    @ApiModelProperty(value = "规格id")
    private String standardId;

    @Excel(name = "地址id", width = 100)
    @ApiModelProperty(value = "地址id")
    private String  addrId;

    @Excel(name = "idcard", width = 100)
    @ApiModelProperty(value = "idcard")
    private String  idcard;

    @Excel(name = "isapart", width = 100)
    @ApiModelProperty(value = "isapart")
    private String  isapart;

    @Excel(name = "rate", width = 100)
    @ApiModelProperty(value = "rate")
    private String  rate;

    @Excel(name = "nursename", width = 100)
    @ApiModelProperty(value = "nursename")
    private String  nursename;

    @Excel(name = "nursephone", width = 100)
    @ApiModelProperty(value = "nursephone")
    private String  nursephone;

    @Excel(name = "nurseidcard", width = 100)
    @ApiModelProperty(value = "nurseidcard")
    private String  nurseidcard;

    @Excel(name = "客服备注", width = 100)
    @ApiModelProperty(value = "客服备注")
    private String  note;

    @Excel(name = "被监护人身份证", width = 100)
    @ApiModelProperty(value = "被监护人身份证")
    private String  familyidcard;

}
